<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>社团信息管理系统</title>
     <!-- Bootstrap core CSS -->
    <link href="__PUBLIC__/assets/css/bootstrap.min.css" rel="stylesheet">
    <script src="__PUBLIC__/assets/js/jQuery.min.js"></script>
     <script src="__PUBLIC__/assets/js/bootstrap.min.js"></script>
      <script src="__PUBLIC__/assets/js/jquery.min.js"></script>
       <script src="__PUBLIC__/assets/js/bootstrap.min.js"></script>
       <script src="__PUBLIC__/assets/js/ie-emulation-modes-warning.js"></script>

    <!-- Custom styles for this template -->
    <link href="__PUBLIC__/assets/css/dashboard.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="__PUBLIC__/assets/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
       <script>
 function func(vid){
  document.getElementById("videoid").value=vid;
   document.getElementById("login").modal();
  }
 </script>
 <!-- 从show页登录成功后取得vid 并跳转到登录模态框--> 

<!-- 弹窗显示视频的资源 css和jQ-->
<script>
jQuery(document).ready(function($) {
  $('.theme-login').click(function(){
    $('.theme-popover-mask').fadeIn(100);
    $('.theme-popover').slideDown(200);
  })
  $('.theme-poptit .close').click(function(){
var myVideo=$('#myVideo')[0];
      myVideo.pause();
    $('.theme-popover-mask').fadeOut(100);
    $('.theme-popover').slideUp(200);
        
  })

})
</script> 
</head>
<style >
  
    #left{
      margin: 0;
padding: 7px;
line-height: 1.5em;
        font-family: "Times New Roman", Times, serif;
font-size: 20px;
        color: #FFFFFF;
background: #000000 url(images/templatemo_body.jpg) top center no-repeat;
}
#TM {background:rgba(255, 255, 255, 0.6) none repeat scroll 0 0 !important;
/*实现FF背景透明，文字不透明*/filter:Alpha(opacity=50); background:#00DB00;
/*实现IE背景透明*/ padding-top:30px;}
body{
    background-image:url(__ROOT__/uploads/photo/19.jpg);
    background-attachment:fixed;
}
 
</style>
<body>

<div class="container-fluid" >


  <!-- Collect the nav links, forms, and other content for toggling     -->
    <div class="navbar navbar-fixed-top navbar-default" id="left" >
  
      <ul class="nav navbar-nav navbar-left"  >

      <li><img src="__ROOT__/uploads/photo/20.jpg" style="width:60px;height:60px"></li>
      <li role="presentation" ><a href="{:U('Index/index')}"><font color="white" size="5"><b>首页</b></font></a></li>
      <li role="presentation" ><a href="#" data-toggle="modal" data-target="#changePassword"><font color="white">修改密码</font></a></li>
      <li role="presentation" ><a href="#" data-toggle="modal" data-target="#changeInfor"><font color="white">修改个人信息</font></a></li>
      <li role="presentation" ><a href="{:U('Profile/myclub')}"><font color="white">社团信息</font></a></li>
    
      <li role="presentation" ><a href="{:U('Profile/mypractices')}"><font color="white">实践活动列表</font></a></li>
      <li role="presentation" ><a href="{:U('Profile/form1',array('id'=>$vo['ydq_id']))}"><font color="white">创建活动</font></a></li>
      <li role="presentation" ><a href="{:U('Profile/form',array('id'=>$vo['ydq_id']))}" ><font color="white">创建社团</font></a></li>




        </ul>

        <form   action="Search.php" class="navbar-form navbar-left" role="search" >
        <div class="form-group" align="center">
          <input type="text" class="form-control"  name="videoname" placeholder="Search">
        
        <button type="submit" class="btn btn-default" ><b>搜索</b></button></div>
      </form>
      
      

     
       <ul class="nav navbar-nav navbar-right" id="left" >
      
       	<li role="presentation"><a href="{:U('index/index')}"><font color="white" ><b>返回</b></font></a></li>
      
       </ul>
      	</div>
   
      </div>



      <div class="modal fade" id="changePassword" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel"><font face="行楷" size="4">修改个人密码</font></h4>
      </div>
      <div class="modal-body">
<form  name="fm" method="post" action="{:U('profile/changepassword')}" onsubmit="return check()" class="form-horizontal">


  <div class="form-group">
    <label for="exampleInputPassword1" class="col-md-4 control-label"><font face="行楷" size="4">原密码</font></label>
    <div class="col-md-4">
  <input type="password" name="old" class="form-control" id="exampleInputPassword1" placeholder="原密码" required>
  </div>
   <div class="col-md-4">
  
  </div>
  </div>


<div class="form-group">
    <label for="exampleInputPassword1" class="col-md-4 control-label"><font face="行楷" size="4">新密码</font></label>
    <div class="col-md-4">
  <input type="password" name="new1" class="form-control" id="exampleInputPassword1" placeholder="新密码" required>
  </div>
   <div class="col-md-4">
  
  </div>
  </div>


  <div class="form-group">
    <label for="exampleInputPassword1" class="col-md-4 control-label"><font face="行楷" size="4">确认新密码</font></label>
    <div class="col-md-4">
  <input type="password" name="new2" class="form-control" id="exampleInputPassword1" placeholder="确认新密码" required>
  </div>
   <div class="col-md-4">
  
  </div>
  </div>



<div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <input type="submit" class="btn btn-success" value="修改">
    <input type="reset" class="btn btn-warning" value="重置">
    </div>
  </div>
  


  </form>
      </div>
      <div class="modal-footer">
<button type="button" class="btn btn-danger" onclick="location.replace('index.html')" data-dismiss="modal">关闭</button>   
      </div>
    </div>
  </div>
</div>  

<!-- /修改密码模态框结束 -->
<!-- /修改个人信息模态框开始 -->
 <div class="modal fade" id="changeInfor" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>


        <h4 class="modal-title" id="myModalLabel">请修改您的注册信息</h4>
      </div>
      <div class="modal-body">

<form action="{:U('Profile/changeinfor')}" method="post" class="form-horizontal">

<input type="hidden" name="ydq_id" value="{$one.ydq_id}">

<br>
<div class="form-group">
    <label for="name" class="col-sm-2 control-label">用户名</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="ydq_username" value="{$one.ydq_username}" id="name" placeholder="Username" required="">
    </div>
  </div>
<br>
  <div class="form-group">
    <label for="pass" class="col-sm-2 control-label">密码</label>
    <div class="col-sm-10">
      <input type="password" class="form-control" name="ydq_password" value="{$one.ydq_pass}" id="pass" placeholder="Password" required="">
    </div>
  </div>
  <br>

  <div class="form-group">
    <label for="email" class="col-sm-2 control-label">邮箱</label>
    <div class="col-sm-10">
      <input type="email" class="form-control" name="ydq_email" value="{$one.ydq_email}" id="email" placeholder="Email" required="">
    </div>
  </div>
  <br>

  <div class="form-group">
    <label for="tele" class="col-sm-2 control-label">电话</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="ydq_tele" value="{$one.ydq_tele}" id="tele" placeholder="Tele">
    </div>
  </div>
  <br>

    <div class="form-group">
    <label for="photo" class="col-sm-2 control-label">头像</label>
    <div class="col-sm-5">
      <img src="__ROOT__/uploads/{$one.ydq_photo}"/>
      <input type="file" class="form-control" name="ydq_photo"  id="photo" placeholder="Photo">
    </div>
  </div>
     <br> 

     <div class="form-group">
    <label  class="col-sm-2 control-label"></label>
    <div class="col-sm-10">
      <button type="submit" class="btn btn-success">提交</button>
      <button type="reset" class="btn btn-warning">重置</button>
    </div>
  </div>
</form>
    
  
   </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-danger" onclick="location.replace('index.html')" data-dismiss="modal">关闭</button>
        
      </div>
    </div>
  </div>
</div>  
<!-- /修改个人信息模态框结束 -->